﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Ext.Net;
using Sharp.Web.Models;
using PartialViewResult = Ext.Net.MVC.PartialViewResult;

namespace Sharp.Web.Controllers
{
    public class SettingController : Controller
    {
        // GET: Setting
        public ActionResult Index(string containerId)
        {
            return new PartialViewResult
            {
                ViewName = "Index",
                Model = new UserIndexModel(),
                ContainerId = containerId,
                RenderMode = RenderMode.AddTo
            };
        }

        public ActionResult SystemConfig()
        {
            return View("SystemConfig");
        }
    }
}